package com.shensi.api.pay.client;

import com.shensi.common.core.constant.CloudConstant;
import com.shensi.api.pay.param.ResultData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Api(tags = "对接云化相关接口")
@FeignClient(name = CloudConstant.PAY_SERVER, path = "/yunHuaBiz")
public interface YunHuaBizClient {


    @ApiImplicitParams({
            @ApiImplicitParam(name = "stationId", value = "油站Id", required = true),
            @ApiImplicitParam(name = "mobilePhone", value = "手机号", required = true),
    })
    @GetMapping("/getYunHuaParams")
    public ResultData getYunHuaParams(@RequestParam("enterpriseId") String enterpriseId, @RequestParam("mobilePhone") String mobilePhone);

}
